package cn.pet_know.common.enums;

public enum RCode {
    OK("请求成功!", 2000),
    CUSTOM("请求参数异常!", 4100),
    FAIL("服务器异常!", 5000);

    private String msg;
    private Integer code;


    RCode(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
